﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class travel_flights_Travel_Flights : System.Web.UI.MasterPage
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string _strMaintenance = CE.Configuration.MyConfigurationManager.GetAppSettingValue("IsMaintenance");
        if (_strMaintenance == "1")
        {
            Response.Redirect("~/maintenance.aspx");
        }
        if (Session[CE.Global.General.UserId] != null)
        {
            CE.Global.General.CreateUpdateUserLoginCached(Page);

            Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "JS_AjaxSessionTimer", "../includes/AjaxSessionTimer.js");
            Page.ClientScript.RegisterClientScriptInclude(this.GetType(), "JS_Net", "../includes/net.js");
        }
        if (Request.UserAgent.IndexOf("AppleWebKit") > 0)
        {
            Request.Browser.Adapters.Clear();
        }

    }
}
